<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>UI组件之排序表格</title>
  <style type="text/css">
    *{
      margin: 0;
      padding: 0;
    }
    thead tr{
      color: #fff;
      background-color: #000;
    }
  </style>
</head>
<body>
  <table>
    <thead>
      <tr>
        <th>姓名</th>
        <th>语文</th>
        <th>数学</th>
        <th>英语</th>
        <th>总分</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>小明</td>
        <td>80</td>
        <td>90</td>
        <td>70</td>
        <td>240</td>
      </tr>
      <tr>
        <td>小红</td>
        <td>90</td>
        <td>60</td>
        <td>90</td>
        <td>240</td>
      </tr>
      <tr>
        <td>小亮</td>
        <td>60</td>
        <td>100</td>
        <td>70</td>
        <td>230</td>
      </tr>
    </tbody>
  </table>
</body>
</html>